package com.wdb007.venus.svc.dal.vip.dao;

import java.util.Date;
import java.util.List;

import com.wdb007.venus.svc.dal.vip.model.VipMemberDO;

public interface VipMemberDAO {
	
    int remvoe(Long id);

    int save(VipMemberDO record);

    VipMemberDO get(Long id);
    
    List<VipMemberDO> getAllVipMembers(Date endtime);

    int update(VipMemberDO record);
    
    Date getExpireDate(Long userid);
    
    VipMemberDO getByCondition(VipMemberDO query);
    
    VipMemberDO getByUserId(Long userId);
}